<template>
	<div class="login">
		<div class="login_inp">
			<input class="form-control" placeholder="请输入手机/邮箱" type="text" />
			<div class="logon_div"></div>
		</div>
		<div class="login_inp">
			<input class="form-control" placeholder="请输入密码" type="password" />
			<div class="logon_div"></div>
		</div>
		<a class="lianjie" href="">登录</a>
		<div class="lianjie" @click="cancel_()">取消</div>
	</div>
</template>

<script>
	export default {
		name: "login",
		data() {
			return {

			}
		},
		methods: {
			cancel_() {
				this.$router.go(-1)
			}
		}
	}
</script>

<style lang="scss">
	.login {
		padding-top: 50px;
		position: absolute;
		min-height: 100%;
		width: 100%;
		background-color: #f6f6f6;
		.login_inp {
			margin: 30px 0 0;
			height: 34px;
			position: relative;
			padding: 0 31px;
			.form-control {
				border: none;
				background-color: #f6f6f6;
				border-radius: 0;
				box-shadow: none;
				outline: none;
				display: block;
				width: 100%;
				font-size: 14px;
				line-height: 1.42857143;
				color: #555;
				padding-left: 8px;
			}
			.logon_div {
				position: absolute;
				top: 8px;
				height: 12px;
				width: 89%;
				border: solid #c4c4c4;
				border-width: 0 1px 1px;
			}
		}
		.lianjie{
			text-align: center;
			width: 163px;
			background-color: #fe8233;
			color: #fff;
			border: none;
			border-radius: 36px;
			margin-top: 45px;
			padding: 8px 12px;
			font-size: 15px;
			outline: none;
			display: block;
			margin-right: auto;
			margin-left: auto;
		}
	}
</style>